Pro Docker by Deepak Vohra

Pro Docker by Deepak Vohra

Author:Deepak Vohra
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


List the output from the wordcount application using the following command.

hdfs dfs -cat /output/part-r-00000

The word count for each distinct word in the input files input1.txt and input2.txt gets output as shown in Figure 8-16.

Figure 8-16.Listing the Word Count

Stopping the Hadoop Docker Container

The Docker container running the Hadoop processes may be stopped with the docker stop command.

sudo docker stop hadoop

Subsequently run the docker ps command and no container gets listed as running as shown in Figure 8-17.

Figure 8-17.Listing Running Docker Containers after stopping Apache Hadoop Container



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.